import React, {useEffect, useRef, useState} from 'react';
import style from "./PageCover.module.scss";
import {useNavigate} from "react-router-dom";
import {Spin} from "antd";

function PageCover() {
    const Navigate = useNavigate();
    const [coverDisplay, setCoverDisplay] = useState(false)
    const imgRef = useRef()
    const goPage = () => {
        Navigate('/HomePage')
    }


    return (
        <div onClick={goPage} className={style.PageCover}>

        </div>
    );
}

export default PageCover;
